package com.xj.opcua.data.entity;

import java.io.Serializable;

import org.springframework.data.annotation.Id;
import org.springframework.data.mongodb.core.mapping.Document;

import com.alibaba.fastjson.JSONObject;

import lombok.Data;

@Data
@Document(collection = "opcUaSubscriptionData")
public class OpcUaSubscriptionData implements Serializable{
	private static final long serialVersionUID = 1L;
	
	@Id
	private String id;
	
	private String url;
	
	private JSONObject data;
	
	private String createTime;
	
	private String uuid;
	
	private long time;
	
	private long interval;

}

